<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<div class="breadcrumbs" id="breadcrumbs">
	<script type="text/javascript">
		try {
			ace.settings.check('breadcrumbs', 'fixed')
		} catch (e) {}
	</script>

	<ul class="breadcrumb">
		<li><i class="icon-home home-icon"></i> <a href="../../../index.jsp">首页</a>
		</li>

		<li>菜单管理</li>
		<li class="active">添加菜单</li>
	</ul>

</div>

              <div class="page-content">
						<div class="page-header">
							<h1>
								添加菜单
							</h1>
						</div><!-- /.page-header -->

						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->

								<form class="form-horizontal" action="./insertAuth" method="post">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 菜单名称 </label>

										<div class="col-sm-9">
											<input type="text" id="form-field-1" name="authName" class="col-xs-10 col-sm-5" />
										</div>
									</div>
									
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 菜单图标 </label>

										<div class="col-sm-9">
											<input type="text" id="form-field-1" name="iconCls"  class="col-xs-10 col-sm-5" />
										</div>
									</div>
									
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 菜单路径</label>

										<div class="col-sm-9">
											<input type="text" id="form-field-1" name="authPath" class="col-xs-10 col-sm-5" />
										</div>
									</div>
									
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 菜单状态 </label>

										<div class="col-sm-9">
											 <select name="state" class="ol-xs-10 col-sm-5" style="width: 100px;"> 
											       <option value ="启用" selected="selected">启用</option>
											       <option value ="锁定">锁定</option> 
											 </select>
											
										</div>
									</div>
									
									
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 是否导航结点 </label>

										<div class="col-sm-9">
											<select name="parentId" class="ol-xs-10 col-sm-5" style="width: 100px;"> 
											       <option value ="1" >是</option>
											       <option value ="2" selected="selected">否</option> 
											 </select>
										</div>
									</div>
									
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 菜单描述</label>

										<div class="col-sm-9">
											<textarea rows="5" cols="50" name="authDescription"></textarea>
										</div>
									</div>

									
										<div class="col-md-offset-3 col-md-9">
											<button class="btn btn-info" type="submit">
												保存
											</button>

											&nbsp; &nbsp; &nbsp;
											<button class="btn btn-info" type="reset">
												重填
											</button>
										</div>
									

								</form>	
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->